/**
 * Demonstrates a range of Button options the framework offers out of the box
 */
Ext.define('cloud.view.app.Zhifubao', {
    extend: 'Ext.form.FormPanel',
    xtype: 'zhifubao',

    requires: ['Ext.form.Panel', 'Ext.form.FieldSet','Ext.field.Toggle', 'Ext.field.Select', 'Ext.field.Hidden'],
    config: {
        //style:'font-size:14px',
        title: '设置支付宝',
        items: [
            {
                xtype: 'toolbar',
                docked: 'bottom',
                layout: {
                    type: 'hbox',
                    pack: 'end'
                },
                items: [
                    {
                        id: 'zhifubao_save',
                        iconMask: true,
                        scope: this,
                        cls:'x-button2',
                        text: '提交',
                        style: 'float:right'
                    }
                ]
            },
            {
                xtype: 'fieldset',
                title: '设置支付宝',
                items: [
                    {
                        xtype: 'textfield',
                        name:'caid',
                        label:'应用id',
                        id:'zhifubao_caid'
                    },
                    {
                        xtype: 'textfield',
                        label: '商家ID',
                        id:'zhifubao_partner',
                        name:'partner'
                    },
                    {
                        xtype: 'textfield',
                        label:'网页版的key',
                        id:'zhifubao_key',
                        name:'key'
                    },
                    {
                        xtype: 'textfield',
                        label:'收款商家',
                        id:'zhifubao_seller_email',
                        name:'seller_email'
                    }
                ]
            }
        ]
    }
});